<template>
    <div style="width: 350x; text-align: center;">
        <van-tabs v-model:active="active" swipeable type="card" shrink="">
            <van-tab title="我是标签1的内容">内容 1</van-tab>
            <van-tab title=" 标签2 ">内容 2</van-tab>
            <van-tab title=" 标签3 ">内容 3</van-tab>
            <van-tab title=" 标签4 ">内容 4</van-tab>
            <!-- 此处省略3个<van-tab></<van-tab>标签 -->
        </van-tabs>
    </div>
  </template>
  <script setup>
  import { ref } from 'vue'
  const active = ref(0)
  </script>
  